﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Models;

namespace IDAL
{
    public interface IWorksCategoryInfo
    {
        List<WorksCategoryInfo> GetAllWorksCategoryInfo();
        List<WorksCategoryInfo> GetNowPageWorksCategoryInfo(int pagesize, int nowpage);
        int GetPageCount(int pagesize);
        WorksCategoryInfo GetOneWorksCategory(int CategoryID);
        int DeleteWorksCategoryInfo(int CategoryID);
        int UpdateWorksCategoryInfo(WorksCategoryInfo wc);
        int AddWorksCategoryInfo(WorksCategoryInfo wc);
        List<WorksCategoryInfo> GetAdminWorksCategory();
    }
}
